package org.example.service.impl;

import org.example.dao.SysUserDao;
import org.example.entity.SysUser;
import org.example.service.SysUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author：无敌暴龙战士
 * @Package：org.example.service.impl
 * @Project：learn_spring_security
 * @name：SysUserServiceImpl
 * @Date：2025/2/13 3:42
 * @Filename：SysUserServiceImpl
 * @Description:
 */
@Service
public class SysUserServiceImpl implements SysUserService {

    @Resource
    SysUserDao sysUserDao;

    @Override
    public SysUser getByUserName(String userName) {
        return sysUserDao.getByUserName(userName);
    }
}
